import Layout from '@/layouts'
const common = [
  {
    path: '/',
    component: Layout,
    redirect: '/index',
    children: [
      {
        path: 'agreement/:key',
        component: () => import('@/views/public/agreement'),
        meta: { title: '协议', needLogin: false }
      },
      {
        path: 'single',
        component: () => import('@/views/public/single'),
        meta: { title: '单页', needLogin: false }
      }
    ]
  }
]
export default common
